package com.mmlc.meimei.lichengkongjian.mine;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;

import com.mmlc.inter.InterFragment;
import com.mmlc.meimei.lichengkongjian.App;
import com.mmlc.meimei.lichengkongjian.R;

public class MineFragment extends InterFragment implements OnClickListener{

	int layout;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		if(App.user.getLoginState()){//展示个人中心
			layout = R.layout.fragment_personcenter;
		}else{//展示登陆界面
			layout = R.layout.fragment_login;
		}
		return super.onCreateView(inflater, container, savedInstanceState);
	}

	@Override
	protected int initResourceID() {
		return layout;
	}
	@Override
	protected void initView() {

	}

}
